<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-title" class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-titleen" class="control-label col-xs-12 col-sm-2">{:__('Titleen')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-titleen" data-rule="required" class="form-control" name="row[titleen]" type="text" value="{$row.titleen}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-type" class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-type" data-rule="required" class="form-control" name="row[type]" type="text" value="{$row.type}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-iconimage" class="control-label col-xs-12 col-sm-2">{:__('Iconimage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-iconimage" data-rule="required" class="form-control" size="50" name="row[iconimage]" type="text" value="{$row.iconimage}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-iconimage" class="btn btn-danger plupload" data-input-id="c-iconimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-iconimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-iconimage" class="btn btn-primary fachoose" data-input-id="c-iconimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-iconimage"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-iconimage"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-fileimage" class="control-label col-xs-12 col-sm-2">{:__('Fileimage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-fileimage" data-rule="required" class="form-control" size="50" name="row[fileimage]" type="text" value="{$row.fileimage}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-fileimage" class="btn btn-danger plupload" data-input-id="c-fileimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-fileimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-fileimage" class="btn btn-primary fachoose" data-input-id="c-fileimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-fileimage"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-fileimage"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-suffix1" class="control-label col-xs-12 col-sm-2">{:__('Suffix1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-suffix1" data-rule="required" class="form-control" name="row[suffix1]" type="text" value="{$row.suffix1}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-suffix2" class="control-label col-xs-12 col-sm-2">{:__('Suffix2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-suffix2" data-rule="required" class="form-control" name="row[suffix2]" type="text" value="{$row.suffix2}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-suffix3" class="control-label col-xs-12 col-sm-2">{:__('Suffix3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-suffix3" data-rule="required" class="form-control" name="row[suffix3]" type="text" value="{$row.suffix3}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-measurecontent" class="control-label col-xs-12 col-sm-2">{:__('Measurecontent')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-measurecontent" data-rule="required" class="form-control" name="row[measurecontent]" type="text" value="{$row.measurecontent}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-unit" class="control-label col-xs-12 col-sm-2">{:__('Unit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-unit" data-rule="required" class="form-control" name="row[unit]" type="text" value="{$row.unit}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-storagespace" class="control-label col-xs-12 col-sm-2">{:__('Storagespace')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-storagespace" data-rule="required" class="form-control" name="row[storagespace]" type="text" value="{$row.storagespace}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-maxfilenum" class="control-label col-xs-12 col-sm-2">{:__('Maxfilenum')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-maxfilenum" data-rule="required" class="form-control" name="row[maxfilenum]" type="number" value="{$row.maxfilenum}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-field1" class="control-label col-xs-12 col-sm-2">{:__('Field1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-field1" data-rule="required" class="form-control" name="row[field1]" type="text" value="{$row.field1}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-field2" class="control-label col-xs-12 col-sm-2">{:__('Field2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-field2" data-rule="required" class="form-control" name="row[field2]" type="text" value="{$row.field2}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-field3" class="control-label col-xs-12 col-sm-2">{:__('Field3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-field3" data-rule="required" class="form-control" name="row[field3]" type="text" value="{$row.field3}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-field4" class="control-label col-xs-12 col-sm-2">{:__('Field4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-field4" data-rule="required" class="form-control" name="row[field4]" type="text" value="{$row.field4}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-field5" class="control-label col-xs-12 col-sm-2">{:__('Field5')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-field5" data-rule="required" class="form-control" name="row[field5]" type="text" value="{$row.field5}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-refreshtime" class="control-label col-xs-12 col-sm-2">{:__('Refreshtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refreshtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[refreshtime]" type="text" value="{$row.refreshtime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-weigh" class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="{$row.weigh}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-state" class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="stateList" item="vo"}
            <label for="row[state]-{$key}"><input id="row[state]-{$key}" name="row[state]" type="radio" value="{$key}" {in name="key" value="$row.state"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
